package com.lyq.permission.domain;

import com.lyq.basic.domain.BaseDomain;
import lombok.Data;

import java.util.List;

/**
 * @Author:liangyunqian
 * @Date: 2022/12/13  16:18
 * @Description:
 */
@Data
public class Permission extends BaseDomain {
    private String name;
    private String url;
    private String descs;
    private String sn;
    //多对一的关系
    private Permission parent;
    //一对多的关系
    private List<Permission> children;
}
